package com.ysh.smartplatform.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 袁胜虎 on 2022/9/16 21:44
 */
public interface UserRoleMapper {

    @Select(" SELECT role_id from sys_user_role where user_id =#{user_id}")
    List<Long> selectRoleIdByUserId(Long userId);
}
